<?php

class sessionTimer{
	private $endTime;
	
	public function __construct(){
		
	}
	
	public function Start($sec){
		$this->endTime = time() + $sec;
	}
	
	public function HasElapsed(){
		if(time() >= $this->endTime)
			return TRUE;
		return FALSE;
	}
}

?>
